export const validatePwd=(_:any,value:string)=>{
   let reg=/^\w{6,12}$/
   if(!reg.test(value)){
    return Promise.reject('密码不符合规则')
   }
   return Promise.resolve() 
}